package com.zelix;

public class ux
{

    private Integer a[];
    private int b;

    public ux(int i)
    {
        a = new Integer[i];
        b = i;
    }

    public Integer a(int i)
    {
        if(i >= b)
        {
            int j = i * 2;
            Integer ainteger[] = new Integer[j];
            System.arraycopy(a, 0, ainteger, 0, b);
            a = ainteger;
            b = j;
        }
        Integer integer = a[i];
        if(integer == null)
        {
            integer = new Integer(i);
            a[i] = integer;
        }
        return integer;
    }
}